<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=no">
    <title>日新网</title>
    <link rel="stylesheet" href="__TMPL__Public/assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="__TMPL__Public/assets/css/reset.css">
    <link rel="stylesheet" href="__TMPL__Public/assets/css/style.css">
    <script type="text/javascript" src="__TMPL__Public/assets/js/rem.js"></script>
    <style>
        /*专栏认证 导航样式？*/
        .column_introduce_page .row1 span {
            color: #000232;
        }

        .column_introduce_page {
            border-bottom: 2px solid #afafbd;
        }

        .column_introduce_page .row1 {
            padding-top: .12rem;
            padding-bottom: .12rem;
            margin-top: .28rem;
            background: url("./images/lt.png") left center no-repeat;
            background-size: .18rem .18rem;

        }

        .text textarea, input {
            background-color: #f9f9f9 !important;

        }

        .text p {
            font-weight: bolder;
            margin-bottom: .15rem;
        }

        .timer input {
            width: 49%;
            display: inline-block;

        }

        .item_delete {

            text-align: center;
            margin-top: .5rem;
            letter-spacing: 1px;
        }

        .item_delete a {
            color: #000232;
        }

    </style>
</head>
<body>
<!--nav-->
<tc_include file="Public:nav"/>

<!--专栏认证头部开始-->
<div class="comWidth column_introduce_page">
    <div class="container ">
        <div class="row row1">
            <div class="col-xs-6">
                <a href="{:U('professor/professor/professor_edit')}"><span>&nbsp;< 返回</span></a>
            </div>
            <div class="col-xs-6 text-right">
                <a class="add_mod_pf_col" href="javascript:;"><span>保存</span></a>
            </div>
        </div>
    </div>
</div>
<div style="height: .5rem;"></div>
<div class="comWidth">
    <form id="company_form" method="post" action="{:U('User/Profile/save_user_company_info')}">
        <input type="hidden" name="id" value="{$id}">
        <div class="form-group">
            <label for="school">企业名称:</label>
            <input type="text" class="form-control" name="company" value="{$company}" placeholder="企业名称">
        </div>
        <div class="form-group">
            <label for="school">企业网址:</label>
            <input type="text" class="form-control" name="company_link" value="{$company_link}" placeholder="企业网址">
        </div>
        <div class="form-group">
            <label for="time">成立时间:</label>
            <input type="date" class="form-control" name="company_start_time" value="{$company_start_time}">
        </div>
        <div class="form-group">
            <label for="major">公司地址:</label>
            <input type="text" class="form-control" name="company_addr" value="{$company_addr}" placeholder="公司地址">
        </div>
        <div class="form-group">
            <label for="degree">公司规模:</label>
            <select name="company_scale" id="company_scale" class="form-control">
                <option value="0" {$company_scale== 0 ?
                'selected' : ''}>不明确</option>
                <option value="20" {$company_scale
                <= 20 && $company_scale > 0 ? 'selected' : ''}>1 ~ 20</option>
                <option value="100" {$company_scale
                <= 100 && $company_scale > 20 ? 'selected' : ''}>20 ~ 100</option>
                <option value="500" {$company_scale
                <= 500 && $company_scale > 100 ? 'selected' : ''}>100 ~ 500</option>
                <option value="1000" {$company_scale
                <= 1000 && $company_scale > 500 ? 'selected' : ''}>500 ~ 1000</option>
                <option value="5000" {$company_scale
                <= 5000 && $company_scale > 1000 ? 'selected' : ''}>1000 ~ 5000</option>
                <option value="99999" {$company_scale> 5000 ? 'selected' : ''}>5000以上</option>
            </select>
        </div>

        <div class="text">
            <p>详情介绍</p>
            <textarea class="form-control" rows="10" name="company_introduction" placeholder="企业的简单描述...">{$company_introduction}</textarea>
        </div>
    </form>

</div>
<!--页脚-->
<tc_include file="Public:footer"/>
<script type="text/javascript" src="__TMPL__Public/assets/js/jquery.1.12.4.js"></script>
<script src="__TMPL__Public/assets/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/js/layer/layer_1.js"></script>
<script>
    $('.add_mod_pf_col').click(function () {
        $('#company_form').submit();
    })
</script>
</body>
</html>